import React from "react"
import { Tag, Space } from "antd"
import { useSelector } from 'react-redux'
import './index.css'
const CommonTag = () => {
    const tabsList = useSelector(state => state.tab.tabList)
    console.log(111,tabsList);
    const handleClose= () => {
        console.log(tabsList);
    }
    return (
        <Space className="common-tag" size={[0, 8]} wrap>
            <Tag>首页</Tag>
            <Tag color="#55acee" closeIcon onClose={() => handleClose()}>
                用户列表
            </Tag>
        </Space>
    )
}
export default CommonTag